<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>企业相册-{$site_name}</title>
    <script src="__PUBLIC__/js/jquery.min.js"></script>
    <script src="__PUBLIC__/js/index.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/css/style.css">
    <link rel="stylesheet" href="__PUBLIC__/css/global.css">
    <link rel="stylesheet" href="__PUBLIC__/css/index_style.css">
    <link rel="stylesheet" href="__PUBLIC__/css/index2.css">
    <link rel="stylesheet" href="__PUBLIC__/css/common.css" />
</head>

<body>
<header>
    <div style="max-width:100%;min-width: 1000px; height: 475px; background: url(__PUBLIC__/img/head_wx.jpg) no-repeat center; background-size: cover;">

        <div style=" width: 1000px; height: 50px; margin: 0 auto;">
            <include file="Public:head_search" />
        </div>
        <div style="background: url(__PUBLIC__/img/1_02.jpg) no-repeat;">
            <div style=" width: 1000px; margin: 0 auto; background: url(__PUBLIC__/img/1_03.jpg) no-repeat;">
                <img style="margin-left: 36px;" src="__PUBLIC__/img/1_07.jpg" />
                <include file="Public:nav" />
            </div>
        </div>
    </div>
</header><!-- product_list-产品列表
 -->
<div class="content" style="background:#FFFFFF url(__PUBLIC__/img/indexbg_02.jpg) no-repeat center;background-position: -8px 0px;max-width:100%;min-width: 1000px;">

    <div id="borderColor" style="margin: 0 auto; width: 1000px; height: auto;background:#FFFFFF;top: -10px;position: relative;">

        <div class="fl box-shadow-2" style="border-top: 10px #db261f solid; width: 225px;">
            <div style="text-align: center; padding-top: 30px; padding-bottom: 10px;">
                <img src="__PUBLIC__/img/logo_03.jpg" />
            </div>

            <div class="menu_left">

                <ul style="background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0; padding-top: 20px;">
                    <li>
                        <a href="/video">视频资料</a>
                    </li>
                    <li class="show">
                        <a href="/album">企业相册</a>
                    </li>
                    <li>
                        <a href="/charity">公益活动</a>
                    </li>
                </ul>
            </div>
            <div style="clear: both;"></div>
            <div style="text-align: center; padding-top: 45px;background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0;">
                <img src="__PUBLIC__/img/W_03-01.jpg" />
            </div>

        </div>
        <div class="fr" style="border-top: 10px #b59e58 solid; width: 775px;">
            <div style="width: 722px;margin: 0 auto;margin-top: 42px;">
                <h3 style="font-size: 21px;font-weight: 500;line-height: 29px;">相册列表</h3>
                <img src="__PUBLIC__/img/WG_03.jpg" />
            </div>

            <div style="width: 722px;margin: 0 auto;">

                <ul class="viwelist">
                    <foreach name="list" item="vo">
                    <li>

                            <div style=" padding:3px 0px 3px 10px;">
                                <a href="/album_detail/cid/{$vo.id}">
                                <if condition="$vo.imgurl neq ''">
                                    <div style="width: 320px;height: 190px;"><img src="{$vo.imgurl}" alt="" width="320" height="190"></div>
                                    <else/>
                                    <img src="__PUBLIC__/img/images/nemo.jpg" alt="" width="320" height="190">
                                </if></a>
                            </div>
                            <div style="padding: 8px 13px; text-align: center;">
                                <a href="/album_detail/cid/{$vo.id}">{$vo.name}</a>
                            </div>

                    </li>
                   </foreach>

                </ul>

                <div style="clear: both;"></div>
                <div class="pager">
                    <a href="__URL__album?page=1">首页</a>
                    <if condition="$page gt 1">
                        <a href="__URL__album?page={$page-1}">上一页</a>
                    </if>
                    <if condition="$page-2 elt 1 and $page+2 lt $count">

                        <for name="value" start="1" end="6">
                            <if condition="$value eq $page">
                                <a href="__URL__album?page={$value}" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__album?page={$value}">{$value}</a>
                            </if>
                        </for>

                        <span style="margin: 0 10px;">...</span>
                        <a href="__URL__album?page={$value}">{$count}</a>
                    </if>

                    <if condition="$page-2 gt 1 and $page+2 lt $count">

                        <a href="__URL__album?page=1">1</a>
                        <span style="margin: 0 10px;">...</span>

                        <for name="value" start="$page-2" end="$page+3">
                            <if condition="$value eq $page">
                                <a href="__URL__album?page={$value}" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__album?page={$value}">{$value}</a>
                            </if>
                        </for>

                        <span style="margin: 0 10px;">...</span>
                        <a href="__URL__album?page={$count}">{$count}</a>

                    </if>

                    <if condition="$page-2 gt 1 and $page+2 egt $count">
                        <a href="__URL__album?page=1">1</a>
                        <span style="margin: 0 10px;">...</span>

                        <for name="value" start="$count-4" end="$count+1">
                            <if condition="$value eq $page">
                                <a href="__URL__album?page={$value}" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__album?page={$value}">{$value}</a>
                            </if>
                        </for>
                    </if>

                    <if condition="$count lt 5">
                        <for name="value" start="1" end="$count+1">
                            <if condition="$value eq $page">
                                <a href="__URL__album?page={$value}" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__album?page={$value}">{$value}</a>
                            </if>
                        </for>
                    </if>

                    <if condition="$page lt $count">
                        <a href="__URL__album?page={$page+1}">下一页</a>
                    </if>
                    <a href="__URL__album?page={$count}">末页</a>
                </div>

            </div>

        </div>
        <div style="clear: both;">&nbsp;</div>
    </div>

</div>


<!-- /product_list-产品列表
 -->
<include file="Public:footer" />
</body>
</html>